weblogindir = $(pkgdatadir)/web-login
cgidir = $(weblogindir)/cgi-bin

dist_weblogin_DATA = bounce.html charon.css charon.html charon.js index.html
dist_cgi_SCRIPTS = index.cgi

install-data-local:
	mkdir -p $(DESTDIR)/$(cgidir)
	ln -sf $(bindir)/charon $(DESTDIR)/$(cgidir)/charon
	ln -sf $(bindir)/keyinfo $(DESTDIR)/$(cgidir)/keyinfo
	ln -sf $(bindir)/paymentReturn $(DESTDIR)/$(cgidir)/paymentReturn
	ln -sf /tmp/root/mnt/disc0_1/firefox $(DESTDIR)/$(weblogindir)/firefox
